<div class="row">
    <div class="col-sm-12">
        <div class="card">
            <div class="card-header">
                <p>
                    Slug Info
                    <a ng-click="$ctrl.remove()" class="btn d-inline text-danger float-right">X</a>
                </p>

            </div>
            <div class="card-body" ng-if="$ctrl.urlAlias">
                <div class="form-group">
                    <label class="control-label">Slug</label>
                    <input type="text" ng-change="$ctrl.updateUrl()" class="form-control" ng-model="$ctrl.urlAlias.alias">
                </div>
                <div class="form-group">
                    <label class="control-label">Description</label>
                    <input type="text" class="form-control" ng-model="$ctrl.urlAlias.description">
                </div>
                <div class="form-group">
                    <a class="btn" href="{{$ctrl.url}}" target="_blank">View</a>
                </div>
            </div>
        </div>
    </div>
</div>
